package com.ks.community.entity.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class IngredientExcel {

    @ExcelProperty(value = "食材名",index = 0)
    @ApiModelProperty(value = "食材名称")
    private String ingredientName;

    @ExcelProperty(value = "类型",index = 2)
    @ApiModelProperty(value = "食材类型（0为荤，1为素）")
    private Integer ingredientType;

    @ExcelProperty(value = "卡路里",index = 1)
    @ApiModelProperty(value = "卡路里/kg")
    private Integer calorie;
}
